/*
 * Copyright (c) 2011, @author www.Noday.net
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.noday.demo.domain;

import java.io.Serializable;

public class Article implements Serializable {

	private static final long serialVersionUID = 2180247035125188258L;
	/***/
	private long id;
	/**标题*/
	private String title;
	/**摘要*/
	private String summary;
	/**内容*/
	private String content;
	/**创建日期*/
	private String createDate;
	/**修改日期*/
	private String updateDate;
	/**标签*/
	private String tags;
	/**评论数*/
	private int commentCount;
	/**关键字*/
	private String keyword;
	/**级别*/
	private short level;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public int getCommentCount() {
		return commentCount;
	}
	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public short getLevel() {
		return level;
	}
	public void setLevel(short level) {
		this.level = level;
	}
	public Article() {
		super();
	}
	public Article(long id, String title, String summary, String content,
			String createDate, String updateDate, String tags,
			int commentCount, String keyword, short level) {
		super();
		this.id = id;
		this.title = title;
		this.summary = summary;
		this.content = content;
		this.createDate = createDate;
		this.updateDate = updateDate;
		this.tags = tags;
		this.commentCount = commentCount;
		this.keyword = keyword;
		this.level = level;
	}
	
}